const state = {
  companyInfo:{},
  capacity:0,
  used:0
}

const mutations = {
  setCompanyInfo(state,companyInfo){
    state.companyInfo = companyInfo
  },

  setCapacity(state,capacityData){
    state.capacity = capacityData.capacity
    state.used = capacityData.used
  },
}

const actions = {
  someAsyncTask ({ commit }) {
    // do something async
    commit('INCREMENT_MAIN_COUNTER')
  }
}

export default {
  state,
  mutations,
  actions
}
